package com.jdzy.model.teacher.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "角色菜单表")
@TableName("sys_role_menu")
public class SysRoleMenu extends BaseEntity {
    @ApiModelProperty(value = "角色id")
    @TableField(value = "role_id")
    private Long roleId;       // 角色id
    @ApiModelProperty(value = "菜单id")
    @TableField(value = "menu_id")
    private Long menuId;       // 用户id

    @ApiModelProperty(value = "is_half")
    @TableField(value = "is_half")
    private Byte isHalf;
}
